package broad.bean;
// Generated 27/11/2014 11:44:23 by Hibernate Tools 4.3.1


import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import static javax.persistence.GenerationType.IDENTITY;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

/**
 * Objeto generated by hbm2java
 */
@Entity
@Table(name="objeto"
    ,catalog="broad"
)
public class Objeto  implements java.io.Serializable {


     private Integer idObjeto;
     private Categoria categoria;
     private Pessoa pessoa;
     private String autor;
     private Date dataObjeto;
     private String link;
     private Integer aberto;
     private String lomTitle;
     private String lomLanguage;
     private String lomDescription;
     private String lomKeyword;
     private String lomStructure;
     private String lomStatus;
     private String lomFormat;
     private String lomSize;
     private String lomLocation;
     private String lomRequirement;
     private String lomType;
     private String lomName;
     private String lomDuration;
     private String lomInteractivityType;
     private String lomLearningResourceType;
     private String lomInteractivityLevel;
     private String lomContext;
     private String lomTypicalAgeRange;
     private String lomDifficulty;
     private String lomTypicalLearningTime;
     private String lomCost;
     private String lomCopyrightAndOtherDescription;

    public Objeto() {
    }

	
    public Objeto(String lomTitle) {
        this.lomTitle = lomTitle;
    }
    public Objeto(Categoria categoria, Pessoa pessoa, String autor, Date dataObjeto, String link, Integer aberto, String lomTitle, String lomLanguage, String lomDescription, String lomKeyword, String lomStructure, String lomStatus, String lomFormat, String lomSize, String lomLocation, String lomRequirement, String lomType, String lomName, String lomDuration, String lomInteractivityType, String lomLearningResourceType, String lomInteractivityLevel, String lomContext, String lomTypicalAgeRange, String lomDifficulty, String lomTypicalLearningTime, String lomCost, String lomCopyrightAndOtherDescription) {
       this.categoria = categoria;
       this.pessoa = pessoa;
       this.autor = autor;
       this.dataObjeto = dataObjeto;
       this.link = link;
       this.aberto = aberto;
       this.lomTitle = lomTitle;
       this.lomLanguage = lomLanguage;
       this.lomDescription = lomDescription;
       this.lomKeyword = lomKeyword;
       this.lomStructure = lomStructure;
       this.lomStatus = lomStatus;
       this.lomFormat = lomFormat;
       this.lomSize = lomSize;
       this.lomLocation = lomLocation;
       this.lomRequirement = lomRequirement;
       this.lomType = lomType;
       this.lomName = lomName;
       this.lomDuration = lomDuration;
       this.lomInteractivityType = lomInteractivityType;
       this.lomLearningResourceType = lomLearningResourceType;
       this.lomInteractivityLevel = lomInteractivityLevel;
       this.lomContext = lomContext;
       this.lomTypicalAgeRange = lomTypicalAgeRange;
       this.lomDifficulty = lomDifficulty;
       this.lomTypicalLearningTime = lomTypicalLearningTime;
       this.lomCost = lomCost;
       this.lomCopyrightAndOtherDescription = lomCopyrightAndOtherDescription;
    }
   
     @Id @GeneratedValue(strategy=IDENTITY)

    
    @Column(name="id_objeto", unique=true, nullable=false)
    public Integer getIdObjeto() {
        return this.idObjeto;
    }
    
    public void setIdObjeto(Integer idObjeto) {
        this.idObjeto = idObjeto;
    }

@ManyToOne(fetch=FetchType.LAZY)
    @JoinColumn(name="id_categoria")
    public Categoria getCategoria() {
        return this.categoria;
    }
    
    public void setCategoria(Categoria categoria) {
        this.categoria = categoria;
    }

@ManyToOne(fetch=FetchType.LAZY)
    @JoinColumn(name="id_pessoa")
    public Pessoa getPessoa() {
        return this.pessoa;
    }
    
    public void setPessoa(Pessoa pessoa) {
        this.pessoa = pessoa;
    }

    
    @Column(name="autor")
    public String getAutor() {
        return this.autor;
    }
    
    public void setAutor(String autor) {
        this.autor = autor;
    }

    @Temporal(TemporalType.DATE)
    @Column(name="data_objeto", length=10)
    public Date getDataObjeto() {
        return this.dataObjeto;
    }
    
    public void setDataObjeto(Date dataObjeto) {
        this.dataObjeto = dataObjeto;
    }

    
    @Column(name="link")
    public String getLink() {
        return this.link;
    }
    
    public void setLink(String link) {
        this.link = link;
    }

    
    @Column(name="aberto")
    public Integer getAberto() {
        return this.aberto;
    }
    
    public void setAberto(Integer aberto) {
        this.aberto = aberto;
    }

    
    @Column(name="lom_Title", nullable=false, length=1000)
    public String getLomTitle() {
        return this.lomTitle;
    }
    
    public void setLomTitle(String lomTitle) {
        this.lomTitle = lomTitle;
    }

    
    @Column(name="lom_Language", length=65535)
    public String getLomLanguage() {
        return this.lomLanguage;
    }
    
    public void setLomLanguage(String lomLanguage) {
        this.lomLanguage = lomLanguage;
    }

    
    @Column(name="lom_Description", length=2000)
    public String getLomDescription() {
        return this.lomDescription;
    }
    
    public void setLomDescription(String lomDescription) {
        this.lomDescription = lomDescription;
    }

    
    @Column(name="lom_Keyword", length=1000)
    public String getLomKeyword() {
        return this.lomKeyword;
    }
    
    public void setLomKeyword(String lomKeyword) {
        this.lomKeyword = lomKeyword;
    }

    
    @Column(name="lom_Structure", length=65535)
    public String getLomStructure() {
        return this.lomStructure;
    }
    
    public void setLomStructure(String lomStructure) {
        this.lomStructure = lomStructure;
    }

    
    @Column(name="lom_Status", length=65535)
    public String getLomStatus() {
        return this.lomStatus;
    }
    
    public void setLomStatus(String lomStatus) {
        this.lomStatus = lomStatus;
    }

    
    @Column(name="lom_Format", length=500)
    public String getLomFormat() {
        return this.lomFormat;
    }
    
    public void setLomFormat(String lomFormat) {
        this.lomFormat = lomFormat;
    }

    
    @Column(name="lom_Size", length=30)
    public String getLomSize() {
        return this.lomSize;
    }
    
    public void setLomSize(String lomSize) {
        this.lomSize = lomSize;
    }

    
    @Column(name="lom_Location", length=1000)
    public String getLomLocation() {
        return this.lomLocation;
    }
    
    public void setLomLocation(String lomLocation) {
        this.lomLocation = lomLocation;
    }

    
    @Column(name="lom_Requirement", length=65535)
    public String getLomRequirement() {
        return this.lomRequirement;
    }
    
    public void setLomRequirement(String lomRequirement) {
        this.lomRequirement = lomRequirement;
    }

    
    @Column(name="lom_Type", length=65535)
    public String getLomType() {
        return this.lomType;
    }
    
    public void setLomType(String lomType) {
        this.lomType = lomType;
    }

    
    @Column(name="lom_Name", length=65535)
    public String getLomName() {
        return this.lomName;
    }
    
    public void setLomName(String lomName) {
        this.lomName = lomName;
    }

    
    @Column(name="lom_Duration", length=65535)
    public String getLomDuration() {
        return this.lomDuration;
    }
    
    public void setLomDuration(String lomDuration) {
        this.lomDuration = lomDuration;
    }

    
    @Column(name="lom_Interactivity_Type", length=65535)
    public String getLomInteractivityType() {
        return this.lomInteractivityType;
    }
    
    public void setLomInteractivityType(String lomInteractivityType) {
        this.lomInteractivityType = lomInteractivityType;
    }

    
    @Column(name="lom_Learning_Resource_Type", length=65535)
    public String getLomLearningResourceType() {
        return this.lomLearningResourceType;
    }
    
    public void setLomLearningResourceType(String lomLearningResourceType) {
        this.lomLearningResourceType = lomLearningResourceType;
    }

    
    @Column(name="lom_Interactivity_Level", length=65535)
    public String getLomInteractivityLevel() {
        return this.lomInteractivityLevel;
    }
    
    public void setLomInteractivityLevel(String lomInteractivityLevel) {
        this.lomInteractivityLevel = lomInteractivityLevel;
    }

    
    @Column(name="lom_Context", length=65535)
    public String getLomContext() {
        return this.lomContext;
    }
    
    public void setLomContext(String lomContext) {
        this.lomContext = lomContext;
    }

    
    @Column(name="lom_Typical_Age_Range", length=1000)
    public String getLomTypicalAgeRange() {
        return this.lomTypicalAgeRange;
    }
    
    public void setLomTypicalAgeRange(String lomTypicalAgeRange) {
        this.lomTypicalAgeRange = lomTypicalAgeRange;
    }

    
    @Column(name="lom_Difficulty", length=65535)
    public String getLomDifficulty() {
        return this.lomDifficulty;
    }
    
    public void setLomDifficulty(String lomDifficulty) {
        this.lomDifficulty = lomDifficulty;
    }

    
    @Column(name="lom_Typical_Learning_Time", length=65535)
    public String getLomTypicalLearningTime() {
        return this.lomTypicalLearningTime;
    }
    
    public void setLomTypicalLearningTime(String lomTypicalLearningTime) {
        this.lomTypicalLearningTime = lomTypicalLearningTime;
    }

    
    @Column(name="lom_Cost", length=65535)
    public String getLomCost() {
        return this.lomCost;
    }
    
    public void setLomCost(String lomCost) {
        this.lomCost = lomCost;
    }

    
    @Column(name="lom_Copyright_And_Other_Description", length=65535)
    public String getLomCopyrightAndOtherDescription() {
        return this.lomCopyrightAndOtherDescription;
    }
    
    public void setLomCopyrightAndOtherDescription(String lomCopyrightAndOtherDescription) {
        this.lomCopyrightAndOtherDescription = lomCopyrightAndOtherDescription;
    }




}


